<?php /*a:1:{s:56:"D:\phpstudy_pro\WWW\night\app\demo\view\index\index.html";i:1602898416;}*/ ?>
<!doctype html>
<html>
<head>
	<title>oppo网站</title>
	<meta charset="utf-8" />
	<link rel="stylesheet" type="text/css" href="/static/css/oppo1.css">
	<link rel="stylesheet" type="text/css" href="/static/css/tongyong.css">
	<script src="/static/jquery.min.js"></script>
</head>
<body>
<div id="top" class="auto">
	<div class="nav">
		<div class="left same">
			<img src="/static/images/mainnav_l.gif">
		</div>
			<div class="main_nav">
				<img src="/static/images/logo.gif" id="logo" />
				<ul>
					<li><a href="index">首页</a></li>
					<li><a href="#">手机</a></li>
					<li><a href="#">耳机</a></li>
					<li><a href="#">配件</a></li>
					<li><a href="#">周边</a></li>
				</ul>
			</div>
		<div class="right same">
			<img src="/static/images/mainnav_r.gif">
		</div>
		<div>
			<img src="/static/images/main_line.gif">
		</div>
		<div class="nav1">
			<form class="search" action="#">
				<input class="keywords" type="text" name="keywords">
				<input class="top_btn" type="submit" value=""/>
			</form>

			<div class="nav1_1">
				<a href="#">登录</a>|
				<a href="#">邀请</a>&nbsp&nbsp&nbsp
				<img src="/static/images/shoppingcart_sicon.png" />
				<a class="gouwuche" href="#">购物车</a>
			</div>			
		</div>
	</div>
</div>
<div id="zhuti">
	<div class="auto">
		<img class="img1" width="960px" src="/static/images/20130508roclam.jpg">
		<div class="shoplist">
			<div class="title">
				<h2>精品推荐</h2>
				<a href="page">更多&gt;&gt;</a>
			</div>
			<div class="box">
				<div id="box1">
				<?php foreach($list as $key => $val): ?>
				<div class="imglist">
					<img width="160" height="160" src="/static/images/75_thumb_G_1364283137730.jpg"/>
					<p class="p0"><a href="good/id/<?php echo htmlentities($val['id']); ?>"><?php echo htmlentities($val['goods_name']); ?></a></p>
					<p class="p1">￥<?php echo htmlentities($val['price']); ?></p>
				</div>
				<?php endforeach; ?>
				</div>
			</div>
			<div class="shoplist">
				<div class="title">
				<h2>新品上架</h2>
				<a href="page">更多&gt;&gt;</a>
				</div>
				<div class="box">
					<div id="box2">
						<?php foreach($list as $key => $val): ?>
						<div class="imglist">
							<img width="160" height="160" src="/static/images/75_thumb_G_1364283137730.jpg"/>
							<p class="p0"><a href="#"><?php echo htmlentities($val['goods_name']); ?></a></p>
							<p class="p1">￥<?php echo htmlentities($val['price']); ?></p>
						</div>
						<?php endforeach; ?>
					</div>
				<div class="zhuti_bottom">
					<img src="/static/images/bottom.jpg" usemap="#zhuti_bottom1" />
					<map id="zhuti_bottom1" name="zhuti_bottom1" >
						<area shape="rect" href="#" coords="0,0,108,50" target="_blank" alt="zhuye" />
						<area shape="rect" href="#" coords="108,0,283,50" target="_blank" alt="zhuye" />
					</map>
				</div>
		</div>
		</div>
	</div>
	<div id="bottom">
	<p>联系qq 305991138</p>
	<p>powered by&nbsp&nbsp&nbsp&nbsp<a href="#">陈昕晟</a></p>
</div>
</div>
</div>
<script>
	$(function () {
		$("#box1>div:last").attr("class","imglist list4");
		$("#box2>div:last").attr("class","imglist list4");
	})
</script>
</body>
</html>